package com.caesar.method_son;

import com.caesar.method_fa.Vehicle;

/**
 * @author caesar
 * @date 2025/7/8
 * @Description:
 * @apiNote
 */
public class Bicycle extends Vehicle {
    public Bicycle(int wheels) {
        super(wheels);
    }

    @Override
    public void drive() {
        System.out.println("脚踏双轮自行车，优哉游哉往前走");
    }

    @Override
    public String toString() {
        return "自行车" + super.toString();
    }
}
